package cn.liulin.spring_boot_study.pojo;

import org.springframework.stereotype.Component;

/**
 * cn.liulin.spring_boot_study.pojo$
 *
 * @author ll
 * @date 2021-10-22 13:13:40
 **/
@Component
public class Cat implements Animal{
    @Override
    public void use() {
        System.out.println("猫【"+Cat.class.getSimpleName()+"】是用来抓老鼠的。");
    }
}
